package popup;

import java.awt.Point;
import javax.swing.JPopupMenu;
import org.netbeans.api.visual.action.PopupMenuProvider;
import org.netbeans.api.visual.widget.Widget;

/**
 * @author Slompo
 */
public class PopupProviderEntidade implements PopupMenuProvider {

    @Override
    public JPopupMenu getPopupMenu(Widget widget, Point point) {
        JPopupMenu menu = new JPopupMenu();
        menu.add("Abrir");
        menu.add("Apagar");
        return menu;
    }
}
